[NTG-context] font error in float placement?

2024-01-13 Thread Henning Hraban Ramm
rph-chk.lua:97> ...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1680: in function <...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1665> (...tail calls...) 506 \startsubsection[title=Schriftwahl] … 513 514 \startplacefigure[title={Beispi

[NTG-context] Re: Better option for a macro with lots of arguments

2023-08-23 Thread Hans Hagen via ntg-context
\startsection[title={Palabras clave}] #2 \stopsection \start \language[en] \startsection[title={Abstract}] #3 \stopsection \startsection[title={Keywords}] #4 \stopsection \stop \startsection[title={¿Cómo citar este capítulo? / How to cite this book?}] \startsubsection[title={Apa}] #5

[NTG-context] Better option for a macro with lots of arguments

2023-08-22 Thread Andres Conrado Montoya
\language[en] \startsection[title={Abstract}] #3 \stopsection \startsection[title={Keywords}] #4 \stopsection \stop \startsection[title={¿Cómo citar este capítulo? / How to cite this book?}] \startsubsection[title={Apa}] #5 \stopsubsection \startsubsection[title={Chicago}] #6

Re: [NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
ad [section] [color=darkred,style=\tfc,inbetween={\mono{\CheckC}}] \setuphead [subsection] [inbetween=] \starttext \startsection[title=Section A] Text of section A. \startsubsection[title=SubSection A.A] Text of subsection A.A \stopsubsection \stopsection

Re: [NTG-context] numbering questions

2023-01-01 Thread Henning Hraban Ramm via ntg-context
}] \startsubsection [title={C}] \stopsubsection \startsubsection [title={D}] \stopsubsection \startsubsection [title={E}] \stopsubsection \stopsection \startsection [title={F}] \startsubsection [title={G}] \stopsubsection \startsubsection [title={H}] \stopsubsection \startsubsection [title={I

Re: [NTG-context] numbering questions

2023-01-01 Thread Wolfgang Schuster via ntg-context
]   [sectionset=reverse-subsection] \starttext \startchapter [title={A}] \startsection [title={B}] \startsubsection [title={C}] \stopsubsection \startsubsection [title={D}] \stopsubsection \startsubsection [title={E}] \stopsubsection \stopsection \startsection [title={F}] \startsubsection [title={G

Re: [NTG-context] numbering sections/subsections

2022-07-10 Thread Alan Bowen via ntg-context
s=section:subsection, stopper={.}] > > % found in https://wiki.contextgarden.net/Titles > > > \starttext > > > > \startsection[title=New section] > > \input knuth > > \startsubsection[title=New subsection] > > \input ward > > \stopsubsection >

Re: [NTG-context] numbering sections/subsections

2022-07-09 Thread Henning Hraban Ramm via ntg-context
][sectionsegments=section:subsection, stopper={.}] % found in https://wiki.contextgarden.net/Titles \starttext \startsection[title=New section] \input knuth \startsubsection[title=New subsection] \input ward \stopsubsection \stopsection \stoptext Hraban

[NTG-context] numbering sections/subsections

2022-07-09 Thread Alan Bowen via ntg-context
[subsection][conversion=n, sectionsegements=section:subsection, stopper={.}] \starttext \startsection[title=New section] \input knuth \startsubsection[title=New subsection] \input ward \stopsubsection \stopsection \stoptext

Re: [NTG-context] no leavevmode

2021-05-28 Thread Hans Hagen
that \leavevmode? \startsubsection[title=TEST] \hbox{abc} def\crlf ghi jkl xyz \stopsubsection first of all, context never uses (and used) \leavevmode and that is for a good reason anyway, adding any mode change command automatically will somehow interfere, \starttext \def\MyTitle#1{\blank{\bf#1

[NTG-context] no leavevmode

2021-05-27 Thread Hans van der Meer
an implicite switch to horizontal mode. I can imagine that this behaviour could be confusing for users not well versed in the different behaviour of the horizontal and vertical modes. Therefore my question: Wouldn't it be wise to implement that \leavevmode? \startsubsection[title=TEST] \hbox{abc} def

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
gt; \starttext > > \setupcaption[figure][way=bytext,prefixsegments=1:*] > > \setupformulas[way=bytext,prefixsegments=1:*] > > \startsection[title=Section] > > \startsubsection[title=SubSection] > > \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure >

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
,prefixsegments=1:*] \setupformulas[way=bytext,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

[NTG-context] About the numbering of theorems

2020-08-07 Thread Fabrice Couvreur
, prefix=yes, prefixsegments=chapter, titlestyle=bold, width=broad] \defineenumeration [theorem] [text=Théorème, number=yes, style=italic] \starttext \startchapter [title={First chapter}] \startsection [title={First section}] \startsubsection [title={First

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Jairo A. del Rio
ments=subsection,conversion=n] > > \starttext > > \startchapter[title=Dummy chapter] > > \startsection[title=Dummy section] > > \startsubsection[title=Dummy subsection] > > \input knuth > > \stopsubsection > > \stopsection > > \stopchapter > >

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Wolfgang Schuster
[subsection][numbercommand=,textstyle={\it},sectionsegments=subsection,conversion=n] \starttext \startchapter[title=Dummy chapter] \startsection[title=Dummy section] \startsubsection[title=Dummy subsection] \input knuth \stopsubsection \stopsection \stopchapter \stoptext This caused by the second

[NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Jairo A. del Rio
section] \startsubsection[title=Dummy subsection] \input knuth \stopsubsection \stopsection \stopchapter \stoptext The log says: \endgroup \22>:157>:middle ...headshownumber \strut \headnumbercontent \par \else \fakeheadnumbercontent \fi \begstrut \headtextcontent \en

[NTG-context] About the table of contents

2020-07-11 Thread Fabrice Couvreur
[chapter,section,subsection] [criterium=all, interaction=all, alternative=c] \startchapter [title=My first chapter] \dorecurse{2}{\input knuth} \startsection [title=My first section] \dorecurse{2}{\input knuth} \startsubsection [title=My first subsection

Re: [NTG-context] using modeset

2020-06-11 Thread Wolfgang Schuster
and a Dutch case. Within this two cases I would still apply all sorts of other modes using \startmode and \doifmode. Duplication is unavoidable but it would make sense to try and re-use the existing structural elements such as \startsection \startsubsection \placefigure etc as much as possible

[NTG-context] using modeset

2020-06-11 Thread Jan Willem Flamma
of other modes using \startmode and \doifmode. Duplication is unavoidable but it would make sense to try and re-use the existing structural elements such as \startsection \startsubsection \placefigure etc as much as possible. After all, only the title and caption text needs to be translated.I tried

[NTG-context] Chapters, sections, usw

2020-02-24 Thread Jean-Pierre Delange
}] \startsection[title={Préambule}] \startsubsection[title={À qui s'adresse ce cours ?}] Ce {\em cours} de philosophie s'adresse d'abord aux élèves de classe de terminale des Lycées, motivés par le massif intimidant d'interrogations et de réflexions que la tradition européenne désigne par {\em

[NTG-context] Suppress blank page in asymmetrical multicolumn layout

2019-12-06 Thread Thangalin
r={\column}, ] \setuphead[subsubsection][ after={\blank[small]}, ] \starttext \startsection[title={Section Title}] \startsubsection[title={Subtitle}] \dorecurse{2}{\input knuth} \dorecurse{2}{% \startsubsubsection[title={Subsubtitle}] \dorecurse{1}{\input ward} \dorecurse{2}{\input lorem}

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Daniel Haid
}] \startsubsection[title={Subsection}] \startsubsubsection[title={First Subsubsection}] \startsubsubsubsection[title={Foo}, reference=foo] \stopsubsubsubsection \startsubsubsection[title={Second subsubsection}] \startsubsubsubsection[title={Bar}, reference

[NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-02 Thread Daniel Haid
on] \setuphead[subsubsubsubsubsubsection][sectionsegments=subsubsubsubsubsubsection] \setuphead[subsubsubsubsubsubsubsection][sectionsegments=subsubsubsubsubsubsubsection] \def\startA{\startchapter} \def\stopA{\stopchapter} \def\startI{\startsection} \def\stopI{\stopsection} \def\startS{\startsubsection}

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
ection[title=List of Tables] \placelistoftables \stopsection \startsection[title=List of Symbols] \placelistofsymbols \stopsection \stopfrontmatter \startbodymatter \startsection[title=Symbols] \startsubsection[title=Using the Symbols] \placeformula \startsubformulas \startformula \startalign \NC \frac{d

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Wolfgang Schuster
[section] \hfill \llap{\userpagenumber} \stopsetups \startsetups[text left] \rlap{\userpagenumber} \hfill \sc \getmarking[chapter] \hfill \llap{} \stopsetups \startfrontmatter Hello \completecontent \stopfrontmatter \startbodymatter \startchapter[title=yay] \startsection[title=wow] \startsubsection

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
[section] \hfill \llap{\userpagenumber} \stopsetups \startsetups[text left] \rlap{\userpagenumber} \hfill \sc \getmarking[chapter] \hfill \llap{} \stopsetups \startfrontmatter Hello \completecontent \stopfrontmatter \startbodymatter \startchapter[title=yay] \startsection[title=wow] \startsubsection[title

[NTG-context] Footnotes and endnotes

2018-11-17 Thread Axel Kielhorn
.} \startsubsection[title={Endnoten}] \placenotes[endnote] \placenotes[commentnote] \stopsubsection \stopsection \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Why do I have to enclose \rawcounter in braces in this MWE ?

2018-09-25 Thread Damien Thiriet
}] \startsection[title={Un premier chapitre}] voilà \stopsection \startsubsection[title={Un deuxième}] tak jest. \stopsubsection \stoptitle \stoptext Thanks, Damien Thiriet ___ If your question

Re: [NTG-context] Some questions about the presentation of a book

2018-07-21 Thread Fabrice Couvreur
[structure] > [n, R, n, n, n] > > \definestructureconversionset > [digits] > [n, n, n, n, n] > > \setupheads[sectionconversionset=structure] > > \setuplist[chapter][style=bold,width=5mm] > > \starttext > > \starttitle[title={\bf So

[NTG-context] Some questions about the presentation of a book

2018-07-20 Thread Fabrice Couvreur
\stoptitle \startchapter[title=First chapter] \startsection[title=Fist section] \startsubsection[title=First subsection] \dorecurse{10}{\fakewords{120}{120}\par} \stopsubsection \stopsection \stopchapter \startchapter[title=Second chapter] \startsection[title=Second section] \startsubsection[ti

[NTG-context] Problem of compiling a file with Emacs

2018-07-19 Thread Fabrice Couvreur
le[title={Sommaire}] \start \placelist [chapter,section,subsection] [criterium=all, alternative=c] \stop \stoptitle \startchapter[title=Espaces probabilisés] \startsubsection[title=Expérience aléatoire et uni

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
t=OLIE] % \setupreferencestructureprefix [chapter] [default] % [prefixstopper=\zerowidthspace, % numberconversionset=OLIE] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input war

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
rttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopc

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Wolfgang Schuster
hspace, % numberconversionset=OLIE] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward See \in{Sections}[reference3] and \in{Section}[reference4]. \stopsubsection \startsubsection[title={},reference={refe

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Wolfgang Schuster
{First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter \startchapter[title={

Re: [NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2

[NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter

[NTG-context] \setupreferencestructureprefix and numberconversionset

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
={}] \startsubsection[title={},reference={reference1}] \input ward See \in{Sections}[reference3] and \in{Section}[reference4]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter \startchapter[title={Second}] \startsubsection[title={},reference={reference3

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
t},reference={}] \startsubsection[title={},reference={reference1}] \input ward See \in{Sections}[reference3] and \in{Section}[reference4]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter \startchapter[title={Second}] \startsubsection[title={},reference

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Wolfgang Schuster
ctionstopper=., criterium=local] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward See \in{Sections}[reference3] and \in{Section}[reference4]. \stopsubsection \startsubsection[title={},reference={reference2}]

[NTG-context] referencing and stoppers

2018-06-29 Thread Idris Samawi Hamid ادريس سماوي حامد
=text] \setuphead[subsection][distance=0em, textdistance=0.7em, sectionstopper=., criterium=local] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input

Re: [NTG-context] space sectioning control

2018-06-26 Thread Procházka Lukáš Ing .
ni 2018 um 04:45 Dear gang, Here's an interesting one, attached and below: === \setuphead[chapter] [alternative=normal] \setuphead[subsection][alternative=text] \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] \starttext \startchapter[title={First},reference={}]

Re: [NTG-context] space sectioning control

2018-06-25 Thread Wolfgang Schuster
rttext \startchapter[title={First},reference={}] \startsubsection%[title={First}] \input ward \stopsubsection \startsubsection%[title={Second}] \input ward \stopsubsection \stopchapter \startchapter[title={Second},reference={}] \startsubsection%[title={}] \input ward \stopsubsection \startsubsection%

Re: [NTG-context] space sectioning control

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
uphead[subsection][alternative=text] \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] \starttext \startchapter[title={First},reference={}] \startsubsection%[title={First}] \input ward \stopsubsection \startsubsection%[title={Second}] \input ward \stopsubsection \stopc

Re: [NTG-context] space sectioning control

2018-06-25 Thread Wolfgang Schuster
normal] \setuphead[subsection][alternative=text] \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] \starttext \startchapter[title={First},reference={}] \startsubsection%[title={First}] \input ward \stopsubsection \startsubsection%[title={Second}] \input ward \stopsubs

[NTG-context] space sectioning control

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Here's an interesting one, attached and below: === \setuphead[chapter] [alternative=normal] \setuphead[subsection][alternative=text] \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] \starttext \startchapter[title={First},reference={}] \startsubsection

[NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Stephens, Kenny
\startbodymatter \startchapter[title={The First Numerals Chapter}] \startsection[title={The First Caps-Romannumerals Section}] \input knuth \startsubsection[title={The First characters Subsection}] \input knuth \stopsubsection \stopsection \startsection[title={The Second Caps

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
ection] [style=\bf, alternative=text, criterium=all, number=no, textcommand=\subsubParagraphNumber, insidesection=\hskip-0.49em] % adjust space after title \setupwhitespace[line] \starttext \startsection[title={Text.}] \input ward \startsubsection \input ward \startsubsubsection

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
urse{2}{% \startsection \startpar\input ward\stoppar \startparagraph\input ward\stopparagraph \startsubsubsection{} \startpar\input ward\stoppar \stopsubsubsection \dorecurse{2}{% \startsubsection \startpar\input ward\stoppar \startparagraph\input ward\stoppar

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
[title=Paragraph 1] \input ward \stopsection \startsection \PARHEAD{Paragraph 2.} \input ward \startparagraph \input ward \stopparagraph \startsubsection \input ward \startsubsubsection \input ward \stopsubsubsection \stopsubsection \stopsection \startsection \input ward \startsubsubsection \inpu

Re: [NTG-context] methods for numbered paragraphs

2017-08-06 Thread Wolfgang Schuster
medium]},color=walayahred,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stops

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
0.28em] \setuphead[subsubsection][style=\tf,after={\blank[big]},before={\blank[big,medium]},color=walayahred,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubs

[NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stopsection \stoptext == See

[NTG-context] methods for numbered paragraphs

2017-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stopsection \stoptext == See attached output. In paragraphs 1 and 2, there is too much distance between

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
curse{5}{\placefigure{Eine andere Kuh} > {\externalfigure[cow.pdf]}} > \dorecurse{5}{\chapter{Kapitel} > \placefigure{Noch eine andere Kuh}{\externalfigure[cow.pdf]}} > \stoptext > > In general, please provide minimal samples of code that show your problem. Was not that sim

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Todd DeVries
ion Act of 1974, students with disabilities are participating in higher education in increasing numbers (Madaus, 2011). Students with psychiatric, learning, and cognitive impairment who once considered college out of reach are taking the plunge. … \stopparagraph \start

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Alan Braslau
Have you tried: On Sat, 1 Apr 2017 20:20:02 +0200 Pablo Rodriguez <oi...@gmx.es> wrote: > Tagging PDFs the way you seem to be trying might be impossible. Here > is my sample: > > \setuppapersize[letter] > \setuptagging[state=start] > \starttext > \

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Pablo Rodriguez
rt] \setuphead[subsection][style=\bf, number=no, commandafter={.~}, textdistance=0cm, alternative=text] \starttext \startsubsection[title=First Subsection] \input knuth \stopsubsection \stoptext >>> alternative=text is working, but \startparagraph is s

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Rik Kabel
, title=Deep Thoughts \startparagraph Oh Hum, its too windy to play out side, so perhaps I'll write a while... \startsubsection[reference=first, title=First Subsection] \startparagraph \input knuth \stopparagraph \stopsubsection \stopsection \stoptext First, add a closing

[NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
, its too windy to play out side, so perhaps I'll write a while... \startsubsection[reference=first, title=First Subsection] \startparagraph \input knuth \stopparagraph \stopsubsection \stopsection \stoptext

Re: [NTG-context] grid snapping problem

2016-12-07 Thread Csikos Bela
ill the whole first page. Is it possible? >However, you have to keep \setnostrut and \setstrut around the figure because >the >before and after keys for captions are not (yet) implemented. It's fine, not a problem. I guess I can use simply \subsection command instead of \sta

Re: [NTG-context] grid snapping problem

2016-12-06 Thread Henri Menke
\stoptexdefinition \setupcaptions [ width=fit, align=last, headstyle={\ss\bfx}, style={\ss\tfx}, before={\setnostrut}, textcommand=\getvalue{caption:text}, ] \starttext \startsubsection[title={Subsection title}] \input dawkins \input dawkins \setnostrut

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Fabrice Couvreur
t; > Cheers, Henri > > --- > > \starttext > > \setuphead > [subsection] > [ > sectionsegments=subsection:subsection, > color=darkred, > ] > > \startsubsection[title={Recherche d'une fonction sous contraintes}] > \stopsubsection > > \s

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Henri Menke
Hi Fabrice, use \setuphead (see below). Cheers, Henri --- \starttext \setuphead [subsection] [ sectionsegments=subsection:subsection, color=darkred, ] \startsubsection[title={Recherche d'une fonction sous contraintes}] \stopsubsection \stoptext On 07/27/2016 11:24 AM, Fabrice

[NTG-context] Change the color of the number of subsection

2016-07-27 Thread Fabrice Couvreur
Hello, With this \startsubsection [title={\darkred Recherche d'une fonction sous contraintes}, sectionsegments=subsection:subsection, numbercommand={\darkred}] it does not work. Thanks Fabrice ___ If your

[NTG-context] [NTG-ConTeXt] Wrong order of sections and subsections

2016-06-18 Thread Marcus Vinicius Mesquita
\startsection[title=First section] \startsubsection[title=First subsection] Lorem ipsum \dots \stopsubsection \startsubsection[title=second subsection] Lorem ipsum \dots \stopsubsection \stopsection \startsection[title=Second section] \startsubsection[title=First

Re: [NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Wolfgang Schuster
\startsection[ reference=sec:Two, title={Section Two}, ] [a_variable={some value}] a_variable=\quote{\structureuservariable{a_variable}}. \startsubsection[ reference=sec:Two:Sec, title={Here’s a subsection}, ] In this subsection there’s some text\ldots \stopsubsection \stopsection \stoptext but r

[NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Saša Janiška
_variable={some value}] a_variable=\quote{\structureuservariable{a_variable}}. \startsubsection[ reference=sec:Two:Sec, title={Here’s a subsection}, ] In this subsection there’s some text\ldots \stopsubsection \stopsection \stoptext but running it under Debian (Sid) gives: [gour@atmar

Re: [NTG-context] A document composed only of TEXpages

2016-03-04 Thread Hans Hagen
\setcounter[userpage][\pagenumber+1] \startTEXpage \startsubsection[title={My First Subsection}] Contents \stopsubsection \stopTEXpage \setcounter[userpage][\pagenumber+1] \startTEXpage \startsubsection[title={My Second Subsection}] Contents \stopsubsection \stopTEXpage \setcounter[userpage

[NTG-context] A document composed only of TEXpages

2016-03-04 Thread Chicho Pep
\startsection[title={My Section}] \placecontent \stopTEXpage \setcounter[userpage][\pagenumber+1] \startTEXpage \startsubsection[title={My First Subsection}] Contents \stopsubsection \stopTEXpage \setcounter[userpage][\pagenumber+1] \startTEXpage \startsubsection[title={My Second Subsection}] Contents

Re: [NTG-context] Question on how to simple numbered sections or other headings

2015-10-25 Thread Alan BRASLAU
This works only because ConTeXt has some sanity checks, so a new \startsubsection will implicitly stop an un-stopped subsection. But it is bad practice to count on this, for I am sure that there are some situations where something might fail. The \startXXX ... \stopXXX syntax is generally better

Re: [NTG-context] Question on how to simple numbered sections or other headings

2015-10-25 Thread josephcanedo
Thanks a lot, very concise. I was wondering if the \stopchapter (or more generally \stop) were needed ? In my document I write in some instances: \startsubsection Bla bla \startsubsection etc …. and it seems to work fine (but perhaps pure luck or is the \startsubsection implictly

[NTG-context] User-Defined Commands With Key-Value Options

2015-07-19 Thread Joas Yannick
are divided into books, and each book into chapters, and each chapter into verses. The purpose of \startbiblebook, \startbiblechapter, and \startbibleverse is to control the formatting thereof respectively (as \startsection, \startsubsection, etc., control the formatting of sections, subsections, etc

Re: [NTG-context] User-Defined Commands With Key-Value Options

2015-07-19 Thread Hans Hagen
, \startsubsection, etc., control the formatting of sections, subsections, etc.) Now, as you see. these commands are user-defined commands with key-value options. My goal is to define the way they do the formatting with Lua. But I do not know how to do. I know a bit about programming, so learning Lua

Re: [NTG-context] toc and macro

2015-05-28 Thread Harry
\stopSameCommand \stopSameCommand \stoptext ___ The \startSameCommand finds itself out (by the nesting of the command) if its behave as \startpart or \startchapter or \startsection or \startsubsection or \startsubsubsection ... Harry Am 28.05.2015 um 12:47 schrieb

Re: [NTG-context] toc and macro

2015-05-28 Thread Wolfgang Schuster
\startSameCommand[white][White] white is light color \stopSameCommand \stopSameCommand \stoptext ___ The \startSameCommand finds itself out (by the nesting of the command) if its behave as \startpart or \startchapter or \startsection or \startsubsection

[NTG-context] Bug? Missing items in nested columnar layout

2014-04-01 Thread Thangalin
Hi, \setuphead[subsection][after={\blank[small]},] \starttext \startcolumns \startmixedcolumns[balance=yes,] \startsubsection[title=title,] \startitemgroup[][packed][before=\empty] \dorecurse{10}{\startitem item \#\recurselevel{}.\stopitem} \stopitemgroup

[NTG-context] Strange behaviour with columnar itemized text

2014-02-27 Thread Thangalin
={\startmixedcolumns[grid=strut,]}, ] \setupstartstop[RecipeIngredientGroup,RecipeInstructionGroup,][ after={\stopmixedcolumns}, ] \starttext \startRecipeIngredientGroup \startsubsection[title={Title},] \startRecipeIngredients \dorecurse{32}{\item{item}} \stopRecipeIngredients

[NTG-context] reference to structureuservariable

2014-01-20 Thread Peter Münster
Hi, How can I read a structureuservariable at the end of the section, when there are subsections? Example: --8---cut here---start-8--- \starttext \startsection[title=sec][foo=bar] % \edef\myFoo{\structureuservariable{foo}} % workaround \startsubsection

Re: [NTG-context] reference to structureuservariable

2014-01-20 Thread Wolfgang Schuster
---cut here---start-8--- \starttext \startsection[title=sec][foo=bar] % \edef\myFoo{\structureuservariable{foo}} % workaround \startsubsection[title=sub 1] sub 1 \stopsubsection \startsubsection[title=sub 2] sub 2 \stopsubsection \par foo is \structureuservariable

Re: [NTG-context] Sectioning from 0?

2013-10-06 Thread Lukáš Procházka
On Fri, 04 Oct 2013 16:53:58 +0200, Mari Voipio mari.voi...@iki.fi wrote: On Fri, Oct 4, 2013 at 5:11 PM, Peter Münster pmli...@free.fr wrote: \startsection[ownnumber=123, title=A] bla \stopsubsection ? That was a typo, I guess; it should have been: \startsubsection[ownnumber=123,title

[NTG-context] Image width in a two-column layout

2013-09-02 Thread Thangalin
[ title={Section}, reference=sec:chapter, ] \placefigure[]{}{% \externalfigure[sheep.jpg][ width=\textwidth, ] } \startsubsection[ title={Equipment}, reference=sec:equipment,] \input knuth \stopsubsection \stopsection \stopchapter\stopbodymatter

Re: [NTG-context] PDF-Toc text is wrong for new \start… commands

2013-07-16 Thread Steffen Kram
A similar problem occurs, when using references: \startsection[ title={my fancy section}, ] \startsubsection[title={first subsection}] \in{see}[secsub] \stopsubsection \startsubsection[ title={second subsection}, reference=secsub ] foo \stopsubsection \stopsection

Re: [NTG-context] PDF-Toc text is wrong for new \start? commands

2013-07-16 Thread Andres Conrado
-ae65-0c052cd71...@kram.io Content-Type: text/plain; charset=windows-1252 A similar problem occurs, when using references: \startsection[ title={my fancy section}, ] \startsubsection[title={first subsection}] \in{see}[secsub] \stopsubsection \startsubsection[ title={second

[NTG-context] Including section number in reference broken

2013-03-17 Thread Steffen Wolfrum
] \setuphead [sectionconversionset=myset] \setuphead [subsection] [sectionsegments=subsection] \starttext \startsection [title=Foo] \startsubsection [title=Bar, reference=bar] \stopsubsection \in{subsection}[bar] \stopsection \stoptext

Re: [NTG-context] Include section number in reference

2013-03-16 Thread Steffen Wolfrum
] \setuphead [sectionconversionset=myset] \setuphead [subsection] [sectionsegments=subsection] \setupreferencestructureprefix[default][prefixsegments=1:*] \startsection [title=Foo] \startsubsection [title=Bar, reference=bar] \stopsubsection \in{subsection}[bar] \stopsection

Re: [NTG-context] Highlight current chapter in list

2012-11-09 Thread Sietse Brouwer
] \stopsection \startsection [title=beta] \startsubsection[title=aap] \namedstructureheadlocation{section} \namedstructureheadlocation{subsection} \startsubsection[title=noot] \namedstructureheadlocation{section} \namedstructureheadlocation{subsection

[NTG-context] Include section number in reference

2011-10-12 Thread Marco
, ] [numbers] \setuphead [sectionconversionset=myset] \setuphead [subsection] [sectionsegments=subsection] \starttext \startsection [title=Foo] \startsubsection [title=Bar, reference=bar] \stopsubsection \in{subsection}[bar] \stopsection \stoptext

[NTG-context] bad argument #1 to 'gsub'

2011-06-23 Thread Kip Warner
}} \def\startsection#1% {\section[#1]{#1}\index{#1}} \def\startsubsection#1% {\subsection[#1]{#1}\index{#1}} \def\startsubsubsection#1% {\subsubsection[#1]{#1}\index{#1}} \def\StartTimelineDate#1% {\subsubsubject{\bf #1}} \def\StopTimelineDate% { \crlf } \def\StartTimelineDocument% { \crlf

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Kip Warner
!doublesided] \def\startchapter#1% {\chapter[#1]{#1}\index{#1}\bookmark{#1}} \def\startsection#1% {\section[#1]{#1}\index{#1}\bookmark{#1}} \def\startsubsection#1% {\subsection[#1]{#1}\index{#1}\bookmark{#1}} \def\startsubsubsection#1% {\subsubsection[#1]{#1}\index{#1}\bookmark{#1}} \def \href#1#2

Re: [NTG-context] Page with subsection following a subsection

2011-06-07 Thread Marco
a new page. (Subsections I want to have divided, but the combo section/subsection not.) Is this possible? Yes, it is: \setuphead [subsection] [page=yes] \starttext \dorecurse{5}{% \startsection [title=Sec] \stopsection \startsection [title=New Sec] \startsubsection [title=Sub Sec

Re: [NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-27 Thread Otared Kavian
\structureuservariable{date}}}% {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}} % \blank {\em\structureuservariable{info}}% \egroup} \starttext \startsection[title={A Section}] \startsubsection [title={The detailled topic (which takes more than one

Re: [NTG-context] \inmargin / full textwidth line interaction (was Toward the use of inleft…)

2010-11-26 Thread Wolfgang Schuster
{\leftaligned{\em\structureuservariable{date}}}% {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}} \blank {\em\structureuservariable{info}}% \egroup} \starttext \startsection[title={A Section}] \startsubsection [title={The detailled topic (which takes more

[NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
\structureuservariable{topic}} % \blank {\em\structureuservariable{info}}% \egroup} \starttext \startsection[title={A Section}] \startsubsection [title={The detailled topic (which takes more than one line)}] [date={The date},topic={Knuth’s topic},info={some text}] \input knuth \stopsubsection

Re: [NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
}\wordright{\tfx\structureuservariable{topic}} % \blank {\em\structureuservariable{info}}% \egroup} \starttext \startsection[title={A Section}] \startsubsection [title={The detailled topic (which takes more than one line)}] [date={The date},topic={Knuth’s topic},info={some text

[NTG-context] subsection and special characters

2009-10-31 Thread Bernd Militzer
statt bekannt. \stopbuffer % \starttext % \startchapter[title={Vorbemerkungen}] \startsection[title={Test}] \getbuffer\hfill OK \stopsection \startsection[title={Das Dokument}] \startsubsection[title={Allgemein}] \getbuffer\hfill PROBLEM !? \stopsubsection \startsubsection[title={Das

[NTG-context] grouped sections and footnotes

2008-08-16 Thread Idris Samawi Hamid ادريس سماوي ح امد
] \definegroupednote [footnote] \setupfootnotes[next=\autoinsertnextspace] \protect \starttext \starttitle[title=Title] \stoptitle \startchapter[title=Chapter] \startsection[title=Section] \input knuth Text \startfootnote[nabiyy] A footnote \stopfootnote text \startsubsection[title=Subsection] Text

  1   2   >